package indi.kider.server.woniubus.service;

import indi.kider.common.model.employee.Employee;
import indi.kider.common.model.woniubus.NoticeVo;
import pers.vankid.common.model.base.CommonResponse;
import pers.vankid.common.utils.page.PageRequest;
import pers.vankid.common.utils.page.PageResponse;

import java.util.List;
import java.util.Map;

/**
 * 通知相关的业务实现
 */
public interface NoticeSerice {


    /**
     * 上位企业管理员
     * 根据字段查询获取通知列表
     * @return
     */
    PageResponse<List<Map>> getNoticeListForSystem(PageRequest<NoticeVo> request, Employee employee);

    /**
     * 上位企业管理员
     * 发送通知
     * @param noticeVo
     * @param employee
     * @return
     */
    CommonResponse sendNoticeBySystem(NoticeVo noticeVo,Employee employee)throws Exception;

    /**
     * 合作企业员工
     * 根据字段查询获取通知列表
     * @return
     */
    PageResponse<List<Map>> getNoticeListForPart(PageRequest<NoticeVo> request, Employee employee);
    /**
     * 合作企业员工
     * 发送通知
     * @param noticeVo
     * @param employee
     * @return
     */
    CommonResponse sendNoticeByPart(NoticeVo noticeVo,Employee employee)throws Exception;


    CommonResponse sendNoticeByPartByHouseList(NoticeVo noticeVo,Employee employee)throws Exception;
    CommonResponse sendNoticeBySystemByHouseList(NoticeVo noticeVo,Employee employee)throws Exception;

}
